package easyexcel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExcelData implements Serializable {
    //value是excel的表头,index是用于excel读操作
    @ExcelProperty(value = "学生编号",index = 0)
    private Integer number;
    @ExcelProperty(value = "学生姓名",index = 1)
    private String name;
}
